package com.book.management.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.book.common.entity.QueryRequest;
import com.book.management.entity.Revocation;

import java.util.List;

/**
 * @Author: 何胤宏
 * @Description:  20173969
 */

public interface RevocationService extends IService<Revocation> {
    /*查所有*/
    List<Revocation> RevocationList(Revocation revocation);

    /*新增*/
    void addRevocation(Revocation revocation);

    /*修改*/
    void updateRevocation(Revocation revocation);

    /*详细分页*/
    IPage<Revocation> RevocationPage(QueryRequest request, Revocation revocation);
}
